package org.example;

//import com.alibaba.nacos.api.config.ConfigType;
//import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import com.google.gson.reflect.TypeToken;
import io.kubernetes.client.openapi.ApiCallback;
import io.kubernetes.client.openapi.ApiClient;
import io.kubernetes.client.openapi.ApiException;
import io.kubernetes.client.openapi.Configuration;
import io.kubernetes.client.openapi.apis.CoreV1Api;
import io.kubernetes.client.openapi.models.V1EndpointsList;
import io.kubernetes.client.util.ClientBuilder;
import io.kubernetes.client.util.KubeConfig;
import io.kubernetes.client.util.Watch;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;

/**
 * Created on 2020/3/23
 */
@SpringBootApplication
//@NacosPropertySource(dataId = "application.properties", first = true)
@ImportResource(locations = "classpath:dubbo-config.xml")
public class FooApplication {

    public static void main(String[] args) {
        SpringApplication.run(FooApplication.class);
    }

}
